P:
cd z:\app\production\tools\jydb\
set logpath=D:\Log\sync_z\
set date=%date:~0,4%%date:~5,2%%date:~8,2%
set logname=%logpath%%date%.log.txt
D:\cygwin64\bin\bash.exe --login -i Z:\app\production\tools\jydb\syndataLY_unix.sh > %logname%